package demo3;

import java.util.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-07-07
 * Time: 18:41
 */
public class Test {

    public static void main(String[] args) {
        HashMap<String,Integer> map = new HashMap<>();

    }


    public static void main1(String[] args) {
        HashBuck2<Integer,Integer> hashBuck = new HashBuck2<>();
        hashBuck.put(4,9);
        hashBuck.put(32,959);
        hashBuck.put(53,969);
        hashBuck.put(11,74);
        hashBuck.put(18,32);
        hashBuck.put(25,859);
        hashBuck.put(39,3);
        hashBuck.put(9,0);
        hashBuck.put(7,1);
        System.out.println(hashBuck.get(4));
        System.out.println(hashBuck.get(32));
        System.out.println(hashBuck.get(53));
        System.out.println(hashBuck.get(11));
        System.out.println(hashBuck.get(18));
        System.out.println(hashBuck.get(25));
        System.out.println(hashBuck.get(39));
        System.out.println(hashBuck.get(9));
        System.out.println(hashBuck.get(7));
        System.out.println(hashBuck.get(785));

    }
}
